// De  Ar  class .  &  check util func
CDA = function() {
	this.x = 0;
	this.y =0;
	this.star =0;
	this.quater = 0;
	this.valid = 0;
};

// error code 
CDA.invalid = 21;

CDA.goodQuater = function(q) {
		if ( q > 0 )
			return true;
		return false;
};

CDA.wantStar = function(s) {
	if ( s == 1 || s == 2 || s == 3 )	// 4, 5, 6 star
		return true;
	return false;
};

CDA.want6Star = function(s) {
	if ( s == 1  )	
		return true;
	return false;
};
CDA.prototype = {
	
	initialize: function() {

	},

};
